bitkeeper revision 1.1662.1.14 (42a4b1f1ZyB5X1YlXHuUGf5X8C-gvQ)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 6 Jun 2005 20:28:33 +0000 (20:28 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Mon, 6 Jun 2005 20:28:33 +0000 (20:28 +0000)
XendDomainInfo.py:
  Cleanup store channel.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/python/xen/xend/XendDomainInfo.py

index fc03dbf048b47edbfd5e7ce93e29f9901fe9c042..97d6dbbf31dfbee0ae4826b66e327c56448058f2 100644 (file)
@@ -577,6 +577,12 @@ class XendDomainInfo:
                 self.channel = None
             except:
                 pass
+        if self.store_channel:
+            try:
+                self.store_channel.close()
+                self.store_channel = None
+            except:
+                pass
         if self.image:
             try:
                 self.image.destroy()